//客户端通知已完成战斗加载
// @ts-ignore
export async function execute(client_id,message_json) {
    let login_characters = G.Characters.get_current_login_characters(client_id);
    //判断是否真的处于战斗中
    if(login_characters["战斗开关"] !== 0){
        //处于战斗中则设置战斗准备状态为就绪
        G.FightUtils.set_ready(login_characters);
        // 同步自动指令
        let fight_data = _FightDataCache.get(login_characters["战斗开关"]);
        let fight_unit = G.FightUtils.get_fight_unit_by_characters(fight_data, login_characters);
        G.FightUtils.send_auto_cmd(fight_data,fight_unit)
    }
}